<?php 
class buyingdoc{
	public $id='';
	public $documentid='';
	public $name='';
	public $company='';
	public $amount=0;
	public $uinit='';
	public $price=0;
	public $vat=0;
	public $total=0;
	
	function newbuyingdoc($id,$documentid,$name,$company,$amount,$uinit,$price,$vat,$total){
		$this->id=$id;
		$this->documentid=$documentid;
		$this->name=$name;
		$this->company=$company;
		$this->amount=$amount;
		$this->uinit=$uinit;
		$this->price=$price;
		$this->vat=$vat;
		$this->total=$total;
	}
}
?>